package com.zhangjun.taxconsumerorder82.feign;

import com.zhangjun.entity.ComputedTax;
import com.zhangjun.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 张钧
 * @Description
 * @create 2022-09-20 12:50
 */
@Component
@FeignClient("TAX-COMPUTE-SERVICE")
public interface ComputeFeignService {
	@GetMapping( "/compute/{money}")
	Result<ComputedTax> computeTax(@PathVariable("money")Long money);
}
